<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <ul>
        <li v-for="item in movies">{{item}}</li>
    </ul>
    <hr>
    <ul>
        <li v-for="(item,index) in movies">{{index + "-" + item}}</li>
    </ul>
</div>


<script src="../../js/vue.js"></script>

<script>
    const vue = new Vue({
        el: "#app",
        data: {
            message: "Hello vue,你好！",
            movies: ["火影忍者","海贼王","犬夜叉"]
        },
        methods: {
            
        }
    });
</script>
</body>
</html>